// post请求，获取菜单
export const login = (params, config = {}) => {
  return uni.$u.http.post('/ebapi/public_api/index', params, config)
}

// get请求，获取菜单
export const loginByPhone = (params, config = {}) => {
  return uni.$u.http.get('/ebapi/public_api/index', params, config)
}

export const sendSmsCode = (params, config = {}) => {
  return uni.$u.http.get('/ebapi/public_api/index', params, config)
}
